const path = require('path');
const { uploadToCos } = require('@tencent/jarvis-webpack-cos');

const distDir = path.resolve(__dirname, '../dist');
uploadToCos(distDir).then(() => process.exit(0));
